<%@ page language="java"
         contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"
         import="com.shxt.hotel.background.Room"
%>
<%
    request.setCharacterEncoding("UTF-8");
    int sub_id = Integer.parseInt((String)request.getParameter("id"));
    // out.println(sub_id);
    Room room = new Room();
    room.subCheckout(sub_id);
    
    room.close();
    response.sendRedirect("../sub_overview.jsp");
%>